package com.example.demo.controller;

/*
* 测试控制器
*
* @author:@rob1n
* @create:2019-07-05
* */

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WelcomeController {

    @RequestMapping("/hello")
    public String hello(){
        return "hello,the controller is working";
    }
}
